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
@Generated
public interface InstancesSetNameRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe current name of this resource, used to prevent conflicts.com.google.protobuf.ByteStringThe current name of this resource, used to prevent conflicts.getName()The name to be applied to the instance.com.google.protobuf.ByteStringThe name to be applied to the instance.booleanThe current name of this resource, used to prevent conflicts.booleanhasName()The name to be applied to the instance.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
-
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.
-