public static final class AnalyzeMoveRequest.Builder extends GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder> implements AnalyzeMoveRequestOrBuilder
The request message for performing resource move analysis.Protobuf type
google.cloud.asset.v1.AnalyzeMoveRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AnalyzeMoveRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AnalyzeMoveRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AnalyzeMoveRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder mergeFrom(AnalyzeMoveRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public AnalyzeMoveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AnalyzeMoveRequest.Builder>
IOException
public String getResource()
Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as "projects/my-project-id") or a Project Number (such as "projects/12345").
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
getResource
in interface AnalyzeMoveRequestOrBuilder
public ByteString getResourceBytes()
Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as "projects/my-project-id") or a Project Number (such as "projects/12345").
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
getResourceBytes
in interface AnalyzeMoveRequestOrBuilder
public AnalyzeMoveRequest.Builder setResource(String value)
Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as "projects/my-project-id") or a Project Number (such as "projects/12345").
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The resource to set.public AnalyzeMoveRequest.Builder clearResource()
Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as "projects/my-project-id") or a Project Number (such as "projects/12345").
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
public AnalyzeMoveRequest.Builder setResourceBytes(ByteString value)
Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as "projects/my-project-id") or a Project Number (such as "projects/12345").
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for resource to set.public String getDestinationParent()
Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a Folder number (such as "folders/123") or an Organization number (such as "organizations/123").
string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED];
getDestinationParent
in interface AnalyzeMoveRequestOrBuilder
public ByteString getDestinationParentBytes()
Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a Folder number (such as "folders/123") or an Organization number (such as "organizations/123").
string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED];
getDestinationParentBytes
in interface AnalyzeMoveRequestOrBuilder
public AnalyzeMoveRequest.Builder setDestinationParent(String value)
Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a Folder number (such as "folders/123") or an Organization number (such as "organizations/123").
string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The destinationParent to set.public AnalyzeMoveRequest.Builder clearDestinationParent()
Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a Folder number (such as "folders/123") or an Organization number (such as "organizations/123").
string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED];
public AnalyzeMoveRequest.Builder setDestinationParentBytes(ByteString value)
Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a Folder number (such as "folders/123") or an Organization number (such as "organizations/123").
string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for destinationParent to set.public int getViewValue()
Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
getViewValue
in interface AnalyzeMoveRequestOrBuilder
public AnalyzeMoveRequest.Builder setViewValue(int value)
Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
value
- The enum numeric value on the wire for view to set.public AnalyzeMoveRequest.AnalysisView getView()
Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
getView
in interface AnalyzeMoveRequestOrBuilder
public AnalyzeMoveRequest.Builder setView(AnalyzeMoveRequest.AnalysisView value)
Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
value
- The view to set.public AnalyzeMoveRequest.Builder clearView()
Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
public final AnalyzeMoveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
public final AnalyzeMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AnalyzeMoveRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.