Package com.google.cloud.compute.v1
Interface InstancesSetNameRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstancesSetNameRequest
,InstancesSetNameRequest.Builder
public interface InstancesSetNameRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCurrentName()
The current name of this resource, used to prevent conflicts.com.google.protobuf.ByteString
getCurrentNameBytes()
The current name of this resource, used to prevent conflicts.String
getName()
The name to be applied to the instance.com.google.protobuf.ByteString
getNameBytes()
The name to be applied to the instance.boolean
hasCurrentName()
The current name of this resource, used to prevent conflicts.boolean
hasName()
The name to be applied to the instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCurrentName
boolean hasCurrentName()
The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.
optional string current_name = 394983825;
- Returns:
- Whether the currentName field is set.
-
getCurrentName
String getCurrentName()
The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.
optional string current_name = 394983825;
- Returns:
- The currentName.
-
getCurrentNameBytes
com.google.protobuf.ByteString getCurrentNameBytes()
The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.
optional string current_name = 394983825;
- Returns:
- The bytes for currentName.
-
hasName
boolean hasName()
The name to be applied to the instance. Needs to be RFC 1035 compliant.
optional string name = 3373707;
- Returns:
- Whether the name field is set.
-
getName
String getName()
The name to be applied to the instance. Needs to be RFC 1035 compliant.
optional string name = 3373707;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name to be applied to the instance. Needs to be RFC 1035 compliant.
optional string name = 3373707;
- Returns:
- The bytes for name.
-
-