public static final class GetServerRequest.Builder extends GeneratedMessage.Builder<GetServerRequest.Builder> implements GetServerRequestOrBuilderMessage for getting a Server
Protobuf type google.cloud.ftp.v1.GetServerRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetServerRequest.BuilderImplements
GetServerRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetServerRequest build()| Returns | |
|---|---|
| Type | Description |
GetServerRequest |
|
buildPartial()
public GetServerRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetServerRequest |
|
clear()
public GetServerRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
|
clearName()
public GetServerRequest.Builder clearName()Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
This builder for chaining. |
clearView()
public GetServerRequest.Builder clearView()Optional. The view of the Server resource to return.
.google.cloud.ftp.v1.ServerView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetServerRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetServerRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getView()
public ServerView getView()Optional. The view of the Server resource to return.
.google.cloud.ftp.v1.ServerView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ServerView |
The view. |
getViewValue()
public int getViewValue()Optional. The view of the Server resource to return.
.google.cloud.ftp.v1.ServerView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for view. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetServerRequest other)
public GetServerRequest.Builder mergeFrom(GetServerRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetServerRequest |
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetServerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetServerRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
|
setName(String value)
public GetServerRequest.Builder setName(String value)Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetServerRequest.Builder setNameBytes(ByteString value)Required. Name of the resource
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
This builder for chaining. |
setView(ServerView value)
public GetServerRequest.Builder setView(ServerView value)Optional. The view of the Server resource to return.
.google.cloud.ftp.v1.ServerView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ServerViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
This builder for chaining. |
setViewValue(int value)
public GetServerRequest.Builder setViewValue(int value)Optional. The view of the Server resource to return.
.google.cloud.ftp.v1.ServerView view = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
GetServerRequest.Builder |
This builder for chaining. |