Class NetworksRemovePeeringRequest.Builder (1.58.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworksRemovePeeringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides

build()

public NetworksRemovePeeringRequest build()
Returns
Type Description
NetworksRemovePeeringRequest

buildPartial()

public NetworksRemovePeeringRequest buildPartial()
Returns
Type Description
NetworksRemovePeeringRequest

clear()

public NetworksRemovePeeringRequest.Builder clear()
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworksRemovePeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides

clearName()

public NetworksRemovePeeringRequest.Builder clearName()

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Returns
Type Description
NetworksRemovePeeringRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworksRemovePeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides

clone()

public NetworksRemovePeeringRequest.Builder clone()
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides

getDefaultInstanceForType()

public NetworksRemovePeeringRequest getDefaultInstanceForType()
Returns
Type Description
NetworksRemovePeeringRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

hasName()

public boolean hasName()

Name of the peering, which should conform to RFC1035.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworksRemovePeeringRequest other)

public NetworksRemovePeeringRequest.Builder mergeFrom(NetworksRemovePeeringRequest other)
Parameter
Name Description
other NetworksRemovePeeringRequest
Returns
Type Description
NetworksRemovePeeringRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworksRemovePeeringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NetworksRemovePeeringRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworksRemovePeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NetworksRemovePeeringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworksRemovePeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworksRemovePeeringRequest.Builder
Overrides