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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ControlImplements
ControlOrBuilderStatic Fields
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Control getDefaultInstance()
Type | Description |
Control |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Control.Builder newBuilder()
Type | Description |
Control.Builder |
newBuilder(Control prototype)
public static Control.Builder newBuilder(Control prototype)
Name | Description |
prototype | Control |
Type | Description |
Control.Builder |
parseDelimitedFrom(InputStream input)
public static Control parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Control |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Control parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Control |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Control parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Control |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Control |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Control parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Control |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Control |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Control parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Control |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Control |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Control parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Control |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Control |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Control parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Control |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Control parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Control |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Control> parser()
Type | Description |
Parser<Control> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Control getDefaultInstanceForType()
Type | Description |
Control |
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;
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;
Type | Description |
ByteString | The bytes for environment. |
getParserForType()
public Parser<Control> getParserForType()
Type | Description |
Parser<Control> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Control.Builder newBuilderForType()
Type | Description |
Control.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Control.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Control.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Control.Builder toBuilder()
Type | Description |
Control.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |