public final class ConnectAgentResource extends GeneratedMessageV3 implements ConnectAgentResourceOrBuilder
ConnectAgentResource represents a Kubernetes resource manifest for Connect
Agent deployment.
Protobuf type google.cloud.gkehub.v1.ConnectAgentResource
Static Fields
MANIFEST_FIELD_NUMBER
public static final int MANIFEST_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ConnectAgentResource getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ConnectAgentResource.Builder newBuilder()
Returns
newBuilder(ConnectAgentResource prototype)
public static ConnectAgentResource.Builder newBuilder(ConnectAgentResource prototype)
Parameter
Returns
public static ConnectAgentResource parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConnectAgentResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ConnectAgentResource parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConnectAgentResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ConnectAgentResource parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConnectAgentResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConnectAgentResource parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ConnectAgentResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConnectAgentResource parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConnectAgentResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ConnectAgentResource parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConnectAgentResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ConnectAgentResource> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ConnectAgentResource getDefaultInstanceForType()
Returns
getManifest()
public String getManifest()
YAML manifest of the resource.
string manifest = 2;
Returns
Type | Description |
String | The manifest.
|
getManifestBytes()
public ByteString getManifestBytes()
YAML manifest of the resource.
string manifest = 2;
Returns
getParserForType()
public Parser<ConnectAgentResource> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public TypeMeta getType()
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
Returns
getTypeOrBuilder()
public TypeMetaOrBuilder getTypeOrBuilder()
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasType()
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
Returns
Type | Description |
boolean | Whether the type field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ConnectAgentResource.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConnectAgentResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ConnectAgentResource.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions