Class AnalyzeMoveRequest.Builder

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeMoveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

build()

public AnalyzeMoveRequest build()
Returns
TypeDescription
AnalyzeMoveRequest

buildPartial()

public AnalyzeMoveRequest buildPartial()
Returns
TypeDescription
AnalyzeMoveRequest

clear()

public AnalyzeMoveRequest.Builder clear()
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

clearDestinationParent()

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];

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AnalyzeMoveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeMoveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

clearResource()

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];

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.

clearView()

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;

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.

clone()

public AnalyzeMoveRequest.Builder clone()
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

getDefaultInstanceForType()

public AnalyzeMoveRequest getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeMoveRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationParent()

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];

Returns
TypeDescription
String

The destinationParent.

getDestinationParentBytes()

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];

Returns
TypeDescription
ByteString

The bytes for destinationParent.

getResource()

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];

Returns
TypeDescription
String

The resource.

getResourceBytes()

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];

Returns
TypeDescription
ByteString

The bytes for resource.

getView()

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;

Returns
TypeDescription
AnalyzeMoveRequest.AnalysisView

The view.

getViewValue()

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;

Returns
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzeMoveRequest other)

public AnalyzeMoveRequest.Builder mergeFrom(AnalyzeMoveRequest other)
Parameter
NameDescription
otherAnalyzeMoveRequest
Returns
TypeDescription
AnalyzeMoveRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeMoveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AnalyzeMoveRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

setDestinationParent(String value)

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];

Parameter
NameDescription
valueString

The destinationParent to set.

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.

setDestinationParentBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for destinationParent to set.

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeMoveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeMoveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

setResource(String value)

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];

Parameter
NameDescription
valueString

The resource to set.

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.

setResourceBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeMoveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

setView(AnalyzeMoveRequest.AnalysisView value)

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;

Parameter
NameDescription
valueAnalyzeMoveRequest.AnalysisView

The view to set.

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.

setViewValue(int value)

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;

Parameter
NameDescription
valueint

The enum numeric value on the wire for view to set.

Returns
TypeDescription
AnalyzeMoveRequest.Builder

This builder for chaining.