Class AnalyzeMoveRequest (3.4.0)

public final class AnalyzeMoveRequest extends GeneratedMessageV3 implements AnalyzeMoveRequestOrBuilder

The request message for performing resource move analysis.

Protobuf type google.cloud.asset.v1.AnalyzeMoveRequest

Static Fields

DESTINATION_PARENT_FIELD_NUMBER

public static final int DESTINATION_PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

VIEW_FIELD_NUMBER

public static final int VIEW_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzeMoveRequest getDefaultInstance()
Returns
TypeDescription
AnalyzeMoveRequest

getDescriptor()

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

newBuilder()

public static AnalyzeMoveRequest.Builder newBuilder()
Returns
TypeDescription
AnalyzeMoveRequest.Builder

newBuilder(AnalyzeMoveRequest prototype)

public static AnalyzeMoveRequest.Builder newBuilder(AnalyzeMoveRequest prototype)
Parameter
NameDescription
prototypeAnalyzeMoveRequest
Returns
TypeDescription
AnalyzeMoveRequest.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzeMoveRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeMoveRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnalyzeMoveRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeMoveRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalyzeMoveRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeMoveRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzeMoveRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeMoveRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnalyzeMoveRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeMoveRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnalyzeMoveRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeMoveRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnalyzeMoveRequest> parser()
Returns
TypeDescription
Parser<AnalyzeMoveRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AnalyzeMoveRequest getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeMoveRequest

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.

getParserForType()

public Parser<AnalyzeMoveRequest> getParserForType()
Returns
TypeDescription
Parser<AnalyzeMoveRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnalyzeMoveRequest.Builder newBuilderForType()
Returns
TypeDescription
AnalyzeMoveRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeMoveRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnalyzeMoveRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnalyzeMoveRequest.Builder toBuilder()
Returns
TypeDescription
AnalyzeMoveRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException