- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class SyncState.Builder extends GeneratedMessageV3.Builder<SyncState.Builder> implements SyncStateOrBuilder
State indicating an ACM's progress syncing configurations to a cluster
Protobuf type google.cloud.gkehub.configmanagement.v1.SyncState
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SyncState.BuilderImplements
SyncStateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllErrors(Iterable<? extends SyncError> values)
public SyncState.Builder addAllErrors(Iterable<? extends SyncError> values)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.gkehub.configmanagement.v1.SyncError> |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
addErrors(SyncError value)
public SyncState.Builder addErrors(SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
value | SyncError |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
addErrors(SyncError.Builder builderForValue)
public SyncState.Builder addErrors(SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | SyncError.Builder |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
addErrors(int index, SyncError value)
public SyncState.Builder addErrors(int index, SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameters | |
---|---|
Name | Description |
index | int |
value | SyncError |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
addErrors(int index, SyncError.Builder builderForValue)
public SyncState.Builder addErrors(int index, SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | SyncError.Builder |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
addErrorsBuilder()
public SyncError.Builder addErrorsBuilder()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Returns | |
---|---|
Type | Description |
SyncError.Builder |
addErrorsBuilder(int index)
public SyncError.Builder addErrorsBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SyncError.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SyncState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
build()
public SyncState build()
Returns | |
---|---|
Type | Description |
SyncState |
buildPartial()
public SyncState buildPartial()
Returns | |
---|---|
Type | Description |
SyncState |
clear()
public SyncState.Builder clear()
Returns | |
---|---|
Type | Description |
SyncState.Builder |
clearCode()
public SyncState.Builder clearCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
clearErrors()
public SyncState.Builder clearErrors()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Returns | |
---|---|
Type | Description |
SyncState.Builder |
clearField(Descriptors.FieldDescriptor field)
public SyncState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
clearImportToken()
public SyncState.Builder clearImportToken()
Token indicating the state of the importer.
string import_token = 2;
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
clearLastSync() (deprecated)
public SyncState.Builder clearLastSync()
Deprecated. google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=305
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
clearLastSyncTime()
public SyncState.Builder clearLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Returns | |
---|---|
Type | Description |
SyncState.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SyncState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
clearSourceToken()
public SyncState.Builder clearSourceToken()
Token indicating the state of the repo.
string source_token = 1;
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
clearSyncToken()
public SyncState.Builder clearSyncToken()
Token indicating the state of the syncer.
string sync_token = 3;
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
clone()
public SyncState.Builder clone()
Returns | |
---|---|
Type | Description |
SyncState.Builder |
getCode()
public SyncState.SyncCode getCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Returns | |
---|---|
Type | Description |
SyncState.SyncCode | The code. |
getCodeValue()
public int getCodeValue()
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public SyncState getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SyncState |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getErrors(int index)
public SyncError getErrors(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SyncError |
getErrorsBuilder(int index)
public SyncError.Builder getErrorsBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SyncError.Builder |
getErrorsBuilderList()
public List<SyncError.Builder> getErrorsBuilderList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getErrorsCount()
public int getErrorsCount()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Returns | |
---|---|
Type | Description |
int |
getErrorsList()
public List<SyncError> getErrorsList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Returns | |
---|---|
Type | Description |
List<SyncError> |
getErrorsOrBuilder(int index)
public SyncErrorOrBuilder getErrorsOrBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SyncErrorOrBuilder |
getErrorsOrBuilderList()
public List<? extends SyncErrorOrBuilder> getErrorsOrBuilderList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gkehub.configmanagement.v1.SyncErrorOrBuilder> |
getImportToken()
public String getImportToken()
Token indicating the state of the importer.
string import_token = 2;
Returns | |
---|---|
Type | Description |
String | The importToken. |
getImportTokenBytes()
public ByteString getImportTokenBytes()
Token indicating the state of the importer.
string import_token = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for importToken. |
getLastSync() (deprecated)
public String getLastSync()
Deprecated. google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=305
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Returns | |
---|---|
Type | Description |
String | The lastSync. |
getLastSyncBytes() (deprecated)
public ByteString getLastSyncBytes()
Deprecated. google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=305
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for lastSync. |
getLastSyncTime()
public Timestamp getLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp | The lastSyncTime. |
getLastSyncTimeBuilder()
public Timestamp.Builder getLastSyncTimeBuilder()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Returns | |
---|---|
Type | Description |
Builder |
getLastSyncTimeOrBuilder()
public TimestampOrBuilder getLastSyncTimeOrBuilder()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getSourceToken()
public String getSourceToken()
Token indicating the state of the repo.
string source_token = 1;
Returns | |
---|---|
Type | Description |
String | The sourceToken. |
getSourceTokenBytes()
public ByteString getSourceTokenBytes()
Token indicating the state of the repo.
string source_token = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sourceToken. |
getSyncToken()
public String getSyncToken()
Token indicating the state of the syncer.
string sync_token = 3;
Returns | |
---|---|
Type | Description |
String | The syncToken. |
getSyncTokenBytes()
public ByteString getSyncTokenBytes()
Token indicating the state of the syncer.
string sync_token = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for syncToken. |
hasLastSyncTime()
public boolean hasLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the lastSyncTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SyncState other)
public SyncState.Builder mergeFrom(SyncState other)
Parameter | |
---|---|
Name | Description |
other | SyncState |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SyncState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SyncState.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
mergeLastSyncTime(Timestamp value)
public SyncState.Builder mergeLastSyncTime(Timestamp value)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SyncState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
removeErrors(int index)
public SyncState.Builder removeErrors(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
setCode(SyncState.SyncCode value)
public SyncState.Builder setCode(SyncState.SyncCode value)
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Parameter | |
---|---|
Name | Description |
value | SyncState.SyncCode The code to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setCodeValue(int value)
public SyncState.Builder setCodeValue(int value)
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for code to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setErrors(int index, SyncError value)
public SyncState.Builder setErrors(int index, SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameters | |
---|---|
Name | Description |
index | int |
value | SyncError |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
setErrors(int index, SyncError.Builder builderForValue)
public SyncState.Builder setErrors(int index, SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | SyncError.Builder |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SyncState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
setImportToken(String value)
public SyncState.Builder setImportToken(String value)
Token indicating the state of the importer.
string import_token = 2;
Parameter | |
---|---|
Name | Description |
value | String The importToken to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setImportTokenBytes(ByteString value)
public SyncState.Builder setImportTokenBytes(ByteString value)
Token indicating the state of the importer.
string import_token = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for importToken to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setLastSync(String value) (deprecated)
public SyncState.Builder setLastSync(String value)
Deprecated. google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=305
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | String The lastSync to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setLastSyncBytes(ByteString value) (deprecated)
public SyncState.Builder setLastSyncBytes(ByteString value)
Deprecated. google.cloud.gkehub.configmanagement.v1.SyncState.last_sync is deprecated. See google/cloud/gkehub/v1/configmanagement/configmanagement.proto;l=305
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for lastSync to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setLastSyncTime(Timestamp value)
public SyncState.Builder setLastSyncTime(Timestamp value)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
setLastSyncTime(Timestamp.Builder builderForValue)
public SyncState.Builder setLastSyncTime(Timestamp.Builder builderForValue)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SyncState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
SyncState.Builder |
setSourceToken(String value)
public SyncState.Builder setSourceToken(String value)
Token indicating the state of the repo.
string source_token = 1;
Parameter | |
---|---|
Name | Description |
value | String The sourceToken to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setSourceTokenBytes(ByteString value)
public SyncState.Builder setSourceTokenBytes(ByteString value)
Token indicating the state of the repo.
string source_token = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for sourceToken to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setSyncToken(String value)
public SyncState.Builder setSyncToken(String value)
Token indicating the state of the syncer.
string sync_token = 3;
Parameter | |
---|---|
Name | Description |
value | String The syncToken to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setSyncTokenBytes(ByteString value)
public SyncState.Builder setSyncTokenBytes(ByteString value)
Token indicating the state of the syncer.
string sync_token = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for syncToken to set. |
Returns | |
---|---|
Type | Description |
SyncState.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SyncState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SyncState.Builder |