public static final class InterconnectsSetNameRequest.Builder extends GeneratedMessage.Builder<InterconnectsSetNameRequest.Builder> implements InterconnectsSetNameRequestOrBuilderRequest to rename an interconnect.
Protobuf type google.cloud.compute.v1.InterconnectsSetNameRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InterconnectsSetNameRequest.BuilderImplements
InterconnectsSetNameRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InterconnectsSetNameRequest build()| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest |
|
buildPartial()
public InterconnectsSetNameRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest |
|
clear()
public InterconnectsSetNameRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
|
clearCurrentName()
public InterconnectsSetNameRequest.Builder clearCurrentName()The current name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string current_name = 394983825;
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
This builder for chaining. |
clearName()
public InterconnectsSetNameRequest.Builder clearName()The new name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
This builder for chaining. |
getCurrentName()
public String getCurrentName()The current name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string current_name = 394983825;
| Returns | |
|---|---|
| Type | Description |
String |
The currentName. |
getCurrentNameBytes()
public ByteString getCurrentNameBytes()The current name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string current_name = 394983825;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for currentName. |
getDefaultInstanceForType()
public InterconnectsSetNameRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The new name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The new name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasCurrentName()
public boolean hasCurrentName()The current name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string current_name = 394983825;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the currentName field is set. |
hasName()
public boolean hasName()The new name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InterconnectsSetNameRequest other)
public InterconnectsSetNameRequest.Builder mergeFrom(InterconnectsSetNameRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
InterconnectsSetNameRequest |
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InterconnectsSetNameRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InterconnectsSetNameRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
|
setCurrentName(String value)
public InterconnectsSetNameRequest.Builder setCurrentName(String value)The current name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string current_name = 394983825;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe currentName to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
This builder for chaining. |
setCurrentNameBytes(ByteString value)
public InterconnectsSetNameRequest.Builder setCurrentNameBytes(ByteString value)The current name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string current_name = 394983825;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for currentName to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
This builder for chaining. |
setName(String value)
public InterconnectsSetNameRequest.Builder setName(String value)The new name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public InterconnectsSetNameRequest.Builder setNameBytes(ByteString value)The new name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectsSetNameRequest.Builder |
This builder for chaining. |