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
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value
VIEW_FIELD_NUMBER
public static final int VIEW_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AnalyzeMoveRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AnalyzeMoveRequest.Builder newBuilder()
Returns
newBuilder(AnalyzeMoveRequest prototype)
public static AnalyzeMoveRequest.Builder newBuilder(AnalyzeMoveRequest prototype)
Parameter
Returns
public static AnalyzeMoveRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeMoveRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnalyzeMoveRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeMoveRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnalyzeMoveRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeMoveRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeMoveRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnalyzeMoveRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeMoveRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeMoveRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnalyzeMoveRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeMoveRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AnalyzeMoveRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AnalyzeMoveRequest getDefaultInstanceForType()
Returns
getDestinationParent()
public String getDestinationParent()
Required. Name of the Google Cloud 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
Type |
Description |
String |
The destinationParent.
|
getDestinationParentBytes()
public ByteString getDestinationParentBytes()
Required. Name of the Google Cloud 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
Type |
Description |
ByteString |
The bytes for destinationParent.
|
getParserForType()
public Parser<AnalyzeMoveRequest> getParserForType()
Returns
Overrides
getResource()
public String getResource()
Required. Name of the resource to perform the analysis against.
Only Google Cloud projects are supported as of today. Hence, this can only
be a 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
Type |
Description |
String |
The resource.
|
getResourceBytes()
public ByteString getResourceBytes()
Required. Name of the resource to perform the analysis against.
Only Google Cloud projects are supported as of today. Hence, this can only
be a 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
Type |
Description |
ByteString |
The bytes for resource.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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
Type |
Description |
int |
The enum numeric value on the wire for view.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AnalyzeMoveRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzeMoveRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AnalyzeMoveRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions