Class GetNamedSetRouterRequest.Builder (1.105.0)

public static final class GetNamedSetRouterRequest.Builder extends GeneratedMessage.Builder<GetNamedSetRouterRequest.Builder> implements GetNamedSetRouterRequestOrBuilder

A request message for Routers.GetNamedSet. See the method description for details.

Protobuf type google.cloud.compute.v1.GetNamedSetRouterRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GetNamedSetRouterRequest build()
Returns
Type Description
GetNamedSetRouterRequest

buildPartial()

public GetNamedSetRouterRequest buildPartial()
Returns
Type Description
GetNamedSetRouterRequest

clear()

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

clearNamedSet()

public GetNamedSetRouterRequest.Builder clearNamedSet()

The Named Set name for this request. Name must conform to RFC1035

optional string named_set = 164134492;

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

clearProject()

public GetNamedSetRouterRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

clearRegion()

public GetNamedSetRouterRequest.Builder clearRegion()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

clearRouter()

public GetNamedSetRouterRequest.Builder clearRouter()

Name of the Router resource to query for the named set. The name should conform to RFC1035.

string router = 148608841 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetNamedSetRouterRequest getDefaultInstanceForType()
Returns
Type Description
GetNamedSetRouterRequest

getDescriptorForType()

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

getNamedSet()

public String getNamedSet()

The Named Set name for this request. Name must conform to RFC1035

optional string named_set = 164134492;

Returns
Type Description
String

The namedSet.

getNamedSetBytes()

public ByteString getNamedSetBytes()

The Named Set name for this request. Name must conform to RFC1035

optional string named_set = 164134492;

Returns
Type Description
ByteString

The bytes for namedSet.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

getRouter()

public String getRouter()

Name of the Router resource to query for the named set. The name should conform to RFC1035.

string router = 148608841 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The router.

getRouterBytes()

public ByteString getRouterBytes()

Name of the Router resource to query for the named set. The name should conform to RFC1035.

string router = 148608841 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for router.

hasNamedSet()

public boolean hasNamedSet()

The Named Set name for this request. Name must conform to RFC1035

optional string named_set = 164134492;

Returns
Type Description
boolean

Whether the namedSet field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetNamedSetRouterRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNamedSet(String value)

public GetNamedSetRouterRequest.Builder setNamedSet(String value)

The Named Set name for this request. Name must conform to RFC1035

optional string named_set = 164134492;

Parameter
Name Description
value String

The namedSet to set.

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

setNamedSetBytes(ByteString value)

public GetNamedSetRouterRequest.Builder setNamedSetBytes(ByteString value)

The Named Set name for this request. Name must conform to RFC1035

optional string named_set = 164134492;

Parameter
Name Description
value ByteString

The bytes for namedSet to set.

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

setProject(String value)

public GetNamedSetRouterRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetNamedSetRouterRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

setRegion(String value)

public GetNamedSetRouterRequest.Builder setRegion(String value)

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetNamedSetRouterRequest.Builder setRegionBytes(ByteString value)

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

setRouter(String value)

public GetNamedSetRouterRequest.Builder setRouter(String value)

Name of the Router resource to query for the named set. The name should conform to RFC1035.

string router = 148608841 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The router to set.

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.

setRouterBytes(ByteString value)

public GetNamedSetRouterRequest.Builder setRouterBytes(ByteString value)

Name of the Router resource to query for the named set. The name should conform to RFC1035.

string router = 148608841 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for router to set.

Returns
Type Description
GetNamedSetRouterRequest.Builder

This builder for chaining.