public static final class ConnectAgentResource.Builder extends GeneratedMessageV3.Builder<ConnectAgentResource.Builder> implements ConnectAgentResourceOrBuilder
ConnectAgentResource represents a Kubernetes resource manifest for Connect
Agent deployment.
Protobuf type google.cloud.gkehub.v1.ConnectAgentResource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectAgentResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConnectAgentResource build()
buildPartial()
public ConnectAgentResource buildPartial()
clear()
public ConnectAgentResource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConnectAgentResource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearManifest()
public ConnectAgentResource.Builder clearManifest()
YAML manifest of the resource.
string manifest = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectAgentResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public ConnectAgentResource.Builder clearType()
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
clone()
public ConnectAgentResource.Builder clone()
Overrides
getDefaultInstanceForType()
public ConnectAgentResource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
---|
Type | Description |
ByteString | The bytes for manifest.
|
getType()
public TypeMeta getType()
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
getTypeBuilder()
public TypeMeta.Builder getTypeBuilder()
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
getTypeOrBuilder()
public TypeMetaOrBuilder getTypeOrBuilder()
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
hasType()
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
Returns |
---|
Type | Description |
boolean | Whether the type field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConnectAgentResource other)
public ConnectAgentResource.Builder mergeFrom(ConnectAgentResource other)
public ConnectAgentResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConnectAgentResource.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public ConnectAgentResource.Builder mergeType(TypeMeta value)
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectAgentResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectAgentResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setManifest(String value)
public ConnectAgentResource.Builder setManifest(String value)
YAML manifest of the resource.
string manifest = 2;
Parameter |
---|
Name | Description |
value | String
The manifest to set.
|
setManifestBytes(ByteString value)
public ConnectAgentResource.Builder setManifestBytes(ByteString value)
YAML manifest of the resource.
string manifest = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for manifest to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectAgentResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ConnectAgentResource.Builder setType(TypeMeta value)
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
public ConnectAgentResource.Builder setType(TypeMeta.Builder builderForValue)
Kubernetes type of the resource.
.google.cloud.gkehub.v1.TypeMeta type = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectAgentResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides