public static final class Scope.Builder extends GeneratedMessageV3.Builder<Scope.Builder> implements ScopeOrBuilderScope represents a Scope in a Fleet.
 Protobuf type google.events.cloud.gkehub.v1.Scope
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Scope.BuilderImplements
ScopeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Scope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
build()
public Scope build()| Returns | |
|---|---|
| Type | Description | 
| Scope | |
buildPartial()
public Scope buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Scope | |
clear()
public Scope.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
clearCreateTime()
public Scope.Builder clearCreateTime()Output only. When the scope was created.
 .google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
clearDeleteTime()
public Scope.Builder clearDeleteTime()Output only. When the scope was deleted.
 .google.protobuf.Timestamp delete_time = 5;
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
clearField(Descriptors.FieldDescriptor field)
public Scope.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
clearName()
public Scope.Builder clearName() The resource name for the scope
 projects/{project}/locations/{location}/scopes/{scope}
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public Scope.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
clearState()
public Scope.Builder clearState()Output only. State of the scope resource.
 .google.events.cloud.gkehub.v1.ScopeLifecycleState state = 6;
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
clearUid()
public Scope.Builder clearUid()Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.
 string uid = 2;
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | This builder for chaining. | 
clearUpdateTime()
public Scope.Builder clearUpdateTime()Output only. When the scope was last updated.
 .google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
clone()
public Scope.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
getCreateTime()
public Timestamp getCreateTime()Output only. When the scope was created.
 .google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The createTime. | 
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. When the scope was created.
 .google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. When the scope was created.
 .google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public Scope getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Scope | |
getDeleteTime()
public Timestamp getDeleteTime()Output only. When the scope was deleted.
 .google.protobuf.Timestamp delete_time = 5;
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The deleteTime. | 
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()Output only. When the scope was deleted.
 .google.protobuf.Timestamp delete_time = 5;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()Output only. When the scope was deleted.
 .google.protobuf.Timestamp delete_time = 5;
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getName()
public String getName() The resource name for the scope
 projects/{project}/locations/{location}/scopes/{scope}
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes() The resource name for the scope
 projects/{project}/locations/{location}/scopes/{scope}
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getState()
public ScopeLifecycleState getState()Output only. State of the scope resource.
 .google.events.cloud.gkehub.v1.ScopeLifecycleState state = 6;
| Returns | |
|---|---|
| Type | Description | 
| ScopeLifecycleState | The state. | 
getStateBuilder()
public ScopeLifecycleState.Builder getStateBuilder()Output only. State of the scope resource.
 .google.events.cloud.gkehub.v1.ScopeLifecycleState state = 6;
| Returns | |
|---|---|
| Type | Description | 
| ScopeLifecycleState.Builder | |
getStateOrBuilder()
public ScopeLifecycleStateOrBuilder getStateOrBuilder()Output only. State of the scope resource.
 .google.events.cloud.gkehub.v1.ScopeLifecycleState state = 6;
| Returns | |
|---|---|
| Type | Description | 
| ScopeLifecycleStateOrBuilder | |
getUid()
public String getUid()Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.
 string uid = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The uid. | 
getUidBytes()
public ByteString getUidBytes()Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.
 string uid = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for uid. | 
getUpdateTime()
public Timestamp getUpdateTime()Output only. When the scope was last updated.
 .google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The updateTime. | 
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. When the scope was last updated.
 .google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. When the scope was last updated.
 .google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
hasCreateTime()
public boolean hasCreateTime()Output only. When the scope was created.
 .google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasDeleteTime()
public boolean hasDeleteTime()Output only. When the scope was deleted.
 .google.protobuf.Timestamp delete_time = 5;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the deleteTime field is set. | 
hasState()
public boolean hasState()Output only. State of the scope resource.
 .google.events.cloud.gkehub.v1.ScopeLifecycleState state = 6;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the state field is set. | 
hasUpdateTime()
public boolean hasUpdateTime()Output only. When the scope was last updated.
 .google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the updateTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeCreateTime(Timestamp value)
public Scope.Builder mergeCreateTime(Timestamp value)Output only. When the scope was created.
 .google.protobuf.Timestamp create_time = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
mergeDeleteTime(Timestamp value)
public Scope.Builder mergeDeleteTime(Timestamp value)Output only. When the scope was deleted.
 .google.protobuf.Timestamp delete_time = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
mergeFrom(Scope other)
public Scope.Builder mergeFrom(Scope other)| Parameter | |
|---|---|
| Name | Description | 
| other | Scope | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Scope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Scope.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
mergeState(ScopeLifecycleState value)
public Scope.Builder mergeState(ScopeLifecycleState value)Output only. State of the scope resource.
 .google.events.cloud.gkehub.v1.ScopeLifecycleState state = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | ScopeLifecycleState | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Scope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
mergeUpdateTime(Timestamp value)
public Scope.Builder mergeUpdateTime(Timestamp value)Output only. When the scope was last updated.
 .google.protobuf.Timestamp update_time = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setCreateTime(Timestamp value)
public Scope.Builder setCreateTime(Timestamp value)Output only. When the scope was created.
 .google.protobuf.Timestamp create_time = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public Scope.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. When the scope was created.
 .google.protobuf.Timestamp create_time = 3;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setDeleteTime(Timestamp value)
public Scope.Builder setDeleteTime(Timestamp value)Output only. When the scope was deleted.
 .google.protobuf.Timestamp delete_time = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setDeleteTime(Timestamp.Builder builderForValue)
public Scope.Builder setDeleteTime(Timestamp.Builder builderForValue)Output only. When the scope was deleted.
 .google.protobuf.Timestamp delete_time = 5;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public Scope.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setName(String value)
public Scope.Builder setName(String value) The resource name for the scope
 projects/{project}/locations/{location}/scopes/{scope}
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public Scope.Builder setNameBytes(ByteString value) The resource name for the scope
 projects/{project}/locations/{location}/scopes/{scope}
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Scope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setState(ScopeLifecycleState value)
public Scope.Builder setState(ScopeLifecycleState value)Output only. State of the scope resource.
 .google.events.cloud.gkehub.v1.ScopeLifecycleState state = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | ScopeLifecycleState | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setState(ScopeLifecycleState.Builder builderForValue)
public Scope.Builder setState(ScopeLifecycleState.Builder builderForValue)Output only. State of the scope resource.
 .google.events.cloud.gkehub.v1.ScopeLifecycleState state = 6;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ScopeLifecycleState.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setUid(String value)
public Scope.Builder setUid(String value)Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.
 string uid = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe uid to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | This builder for chaining. | 
setUidBytes(ByteString value)
public Scope.Builder setUidBytes(ByteString value)Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.
 string uid = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for uid to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Scope.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setUpdateTime(Timestamp value)
public Scope.Builder setUpdateTime(Timestamp value)Output only. When the scope was last updated.
 .google.protobuf.Timestamp update_time = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |
setUpdateTime(Timestamp.Builder builderForValue)
public Scope.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. When the scope was last updated.
 .google.protobuf.Timestamp update_time = 4;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Scope.Builder | |