Package com.google.cloud.compute.v1
Interface XpnResourceIdOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
XpnResourceId,XpnResourceId.Builder
@Generated
public interface XpnResourceIdOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()The ID of the service resource.com.google.protobuf.ByteStringThe ID of the service resource.getType()The type of the service resource.com.google.protobuf.ByteStringThe type of the service resource.booleanhasId()The ID of the service resource.booleanhasType()The type of the service resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasId
boolean hasId()The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).
optional string id = 3355;- Returns:
- Whether the id field is set.
-
getId
String getId()The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).
optional string id = 3355;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).
optional string id = 3355;- Returns:
- The bytes for id.
-
hasType
boolean hasType()The type of the service resource. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- Whether the type field is set.
-
getType
String getType()The type of the service resource. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type of the service resource. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The bytes for type.
-