public final class Control extends GeneratedMessageV3 implements ControlOrBuilder
Selects and configures the service controller used by the service.
Example:
control:
environment: servicecontrol.googleapis.com
Protobuf type google.api.Control
Static Fields
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Control getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Control.Builder newBuilder()
newBuilder(Control prototype)
public static Control.Builder newBuilder(Control prototype)
Parameter |
---|
Name | Description |
prototype | Control
|
public static Control parseDelimitedFrom(InputStream input)
public static Control parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Control parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Control parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(CodedInputStream input)
public static Control parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(InputStream input)
public static Control parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Control parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Control> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Control getDefaultInstanceForType()
getEnvironment()
public String getEnvironment()
The service controller environment to use. If empty, no control plane
feature (like quota and billing) will be enabled. The recommended value for
most services is servicecontrol.googleapis.com
string environment = 1;
Returns |
---|
Type | Description |
String | The environment.
|
getEnvironmentBytes()
public ByteString getEnvironmentBytes()
The service controller environment to use. If empty, no control plane
feature (like quota and billing) will be enabled. The recommended value for
most services is servicecontrol.googleapis.com
string environment = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for environment.
|
getParserForType()
public Parser<Control> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Control.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Control.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Control.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides