public static final class GetRouterRequest.Builder extends GeneratedMessageV3.Builder<GetRouterRequest.Builder> implements GetRouterRequestOrBuilderA request message for Routers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRouterRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetRouterRequest.BuilderImplements
GetRouterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetRouterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
build()
public GetRouterRequest build()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest |
|
buildPartial()
public GetRouterRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest |
|
clear()
public GetRouterRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public GetRouterRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public GetRouterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
clearProject()
public GetRouterRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
clearRegion()
public GetRouterRequest.Builder clearRegion()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
clearRouter()
public GetRouterRequest.Builder clearRouter()Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
clone()
public GetRouterRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
getDefaultInstanceForType()
public GetRouterRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetRouterRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The router. |
getRouterBytes()
public ByteString getRouterBytes()Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for router. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetRouterRequest other)
public GetRouterRequest.Builder mergeFrom(GetRouterRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetRouterRequest |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetRouterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetRouterRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetRouterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public GetRouterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
setProject(String value)
public GetRouterRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetRouterRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetRouterRequest.Builder setRegion(String value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetRouterRequest.Builder setRegionBytes(ByteString value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetRouterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|
setRouter(String value)
public GetRouterRequest.Builder setRouter(String value)Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe router to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setRouterBytes(ByteString value)
public GetRouterRequest.Builder setRouterBytes(ByteString value)Name of the Router resource to return.
string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for router to set. |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetRouterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GetRouterRequest.Builder |
|