Class NetworksRemovePeeringRequest.Builder (1.24.0)

public static final class NetworksRemovePeeringRequest.Builder extends GeneratedMessageV3.Builder<NetworksRemovePeeringRequest.Builder> implements NetworksRemovePeeringRequestOrBuilder

Protobuf type google.cloud.compute.v1.NetworksRemovePeeringRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworksRemovePeeringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

build()

public NetworksRemovePeeringRequest build()
Returns
TypeDescription
NetworksRemovePeeringRequest

buildPartial()

public NetworksRemovePeeringRequest buildPartial()
Returns
TypeDescription
NetworksRemovePeeringRequest

clear()

public NetworksRemovePeeringRequest.Builder clear()
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworksRemovePeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

clearName()

public NetworksRemovePeeringRequest.Builder clearName()

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Returns
TypeDescription
NetworksRemovePeeringRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworksRemovePeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

clone()

public NetworksRemovePeeringRequest.Builder clone()
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

getDefaultInstanceForType()

public NetworksRemovePeeringRequest getDefaultInstanceForType()
Returns
TypeDescription
NetworksRemovePeeringRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

hasName()

public boolean hasName()

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworksRemovePeeringRequest other)

public NetworksRemovePeeringRequest.Builder mergeFrom(NetworksRemovePeeringRequest other)
Parameter
NameDescription
otherNetworksRemovePeeringRequest
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworksRemovePeeringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NetworksRemovePeeringRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworksRemovePeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NetworksRemovePeeringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

setName(String value)

public NetworksRemovePeeringRequest.Builder setName(String value)

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
NetworksRemovePeeringRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public NetworksRemovePeeringRequest.Builder setNameBytes(ByteString value)

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
NetworksRemovePeeringRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NetworksRemovePeeringRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworksRemovePeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworksRemovePeeringRequest.Builder
Overrides