public static final class GetServiceConfigRequest.Builder extends GeneratedMessage.Builder<GetServiceConfigRequest.Builder> implements GetServiceConfigRequestOrBuilderRequest message for GetServiceConfig method.
Protobuf type google.api.servicemanagement.v1.GetServiceConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetServiceConfigRequest.BuilderImplements
GetServiceConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetServiceConfigRequest build()| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest |
|
buildPartial()
public GetServiceConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest |
|
clear()
public GetServiceConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
|
clearConfigId()
public GetServiceConfigRequest.Builder clearConfigId()Required. The id of the service configuration resource.
This field must be specified for the server to return all fields, including
SourceInfo.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |
clearServiceName()
public GetServiceConfigRequest.Builder clearServiceName() Required. The name of the service. See the
overview for naming
requirements. For example: example.googleapis.com.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |
clearView()
public GetServiceConfigRequest.Builder clearView()Specifies which parts of the Service Config should be returned in the response.
.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |
getConfigId()
public String getConfigId()Required. The id of the service configuration resource.
This field must be specified for the server to return all fields, including
SourceInfo.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The configId. |
getConfigIdBytes()
public ByteString getConfigIdBytes()Required. The id of the service configuration resource.
This field must be specified for the server to return all fields, including
SourceInfo.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for configId. |
getDefaultInstanceForType()
public GetServiceConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getServiceName()
public String getServiceName() Required. The name of the service. See the
overview for naming
requirements. For example: example.googleapis.com.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceName. |
getServiceNameBytes()
public ByteString getServiceNameBytes() Required. The name of the service. See the
overview for naming
requirements. For example: example.googleapis.com.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceName. |
getView()
public GetServiceConfigRequest.ConfigView getView()Specifies which parts of the Service Config should be returned in the response.
.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.ConfigView |
The view. |
getViewValue()
public int getViewValue()Specifies which parts of the Service Config should be returned in the response.
.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;
| 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(GetServiceConfigRequest other)
public GetServiceConfigRequest.Builder mergeFrom(GetServiceConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetServiceConfigRequest |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetServiceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetServiceConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
|
setConfigId(String value)
public GetServiceConfigRequest.Builder setConfigId(String value)Required. The id of the service configuration resource.
This field must be specified for the server to return all fields, including
SourceInfo.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe configId to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |
setConfigIdBytes(ByteString value)
public GetServiceConfigRequest.Builder setConfigIdBytes(ByteString value)Required. The id of the service configuration resource.
This field must be specified for the server to return all fields, including
SourceInfo.
string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for configId to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |
setServiceName(String value)
public GetServiceConfigRequest.Builder setServiceName(String value) Required. The name of the service. See the
overview for naming
requirements. For example: example.googleapis.com.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceName to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |
setServiceNameBytes(ByteString value)
public GetServiceConfigRequest.Builder setServiceNameBytes(ByteString value) Required. The name of the service. See the
overview for naming
requirements. For example: example.googleapis.com.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceName to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |
setView(GetServiceConfigRequest.ConfigView value)
public GetServiceConfigRequest.Builder setView(GetServiceConfigRequest.ConfigView value)Specifies which parts of the Service Config should be returned in the response.
.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
GetServiceConfigRequest.ConfigViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |
setViewValue(int value)
public GetServiceConfigRequest.Builder setViewValue(int value)Specifies which parts of the Service Config should be returned in the response.
.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceConfigRequest.Builder |
This builder for chaining. |