Package com.google.cloud.compute.v1
Interface InstanceReferenceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceReference
,InstanceReference.Builder
public interface InstanceReferenceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getInstance()
The URL for a specific instance.com.google.protobuf.ByteString
getInstanceBytes()
The URL for a specific instance.boolean
hasInstance()
The URL for a specific instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInstance
boolean hasInstance()
The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances
optional string instance = 18257045;
- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()
The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances
optional string instance = 18257045;
- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances
optional string instance = 18257045;
- Returns:
- The bytes for instance.
-
-