public static final class ConnectAgentResource.Builder extends GeneratedMessage.Builder<ConnectAgentResource.Builder> implements ConnectAgentResourceOrBuilderConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.
Protobuf type google.cloud.gkehub.v1beta1.ConnectAgentResource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConnectAgentResource.BuilderImplements
ConnectAgentResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ConnectAgentResource build()| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource |
|
buildPartial()
public ConnectAgentResource buildPartial()| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource |
|
clear()
public ConnectAgentResource.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
|
clearManifest()
public ConnectAgentResource.Builder clearManifest()YAML manifest of the resource.
string manifest = 2;
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
This builder for chaining. |
clearType()
public ConnectAgentResource.Builder clearType()Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
|
getDefaultInstanceForType()
public ConnectAgentResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1beta1.TypeMeta type = 1;
| Returns | |
|---|---|
| Type | Description |
TypeMeta |
The type. |
getTypeBuilder()
public TypeMeta.Builder getTypeBuilder()Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
| Returns | |
|---|---|
| Type | Description |
TypeMeta.Builder |
|
getTypeOrBuilder()
public TypeMetaOrBuilder getTypeOrBuilder()Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
| Returns | |
|---|---|
| Type | Description |
TypeMetaOrBuilder |
|
hasType()
public boolean hasType()Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ConnectAgentResource other)
public ConnectAgentResource.Builder mergeFrom(ConnectAgentResource other)| Parameter | |
|---|---|
| Name | Description |
other |
ConnectAgentResource |
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConnectAgentResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConnectAgentResource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
|
mergeType(TypeMeta value)
public ConnectAgentResource.Builder mergeType(TypeMeta value)Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TypeMeta |
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
|
setManifest(String value)
public ConnectAgentResource.Builder setManifest(String value)YAML manifest of the resource.
string manifest = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe manifest to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
This builder for chaining. |
setManifestBytes(ByteString value)
public ConnectAgentResource.Builder setManifestBytes(ByteString value)YAML manifest of the resource.
string manifest = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for manifest to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
This builder for chaining. |
setType(TypeMeta value)
public ConnectAgentResource.Builder setType(TypeMeta value)Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TypeMeta |
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
|
setType(TypeMeta.Builder builderForValue)
public ConnectAgentResource.Builder setType(TypeMeta.Builder builderForValue)Kubernetes type of the resource.
.google.cloud.gkehub.v1beta1.TypeMeta type = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TypeMeta.Builder |
| Returns | |
|---|---|
| Type | Description |
ConnectAgentResource.Builder |
|